package com.yaoxiaowen.project2.test.database.test_realm;


import io.realm.RealmObject;

/**
 * YaoWen(43194) create at tongcheng work pc,
 * time:  2017/1/18 14:18  qq:2669932513
 */
public class DogBean extends RealmObject {
    private String name;
    private int age;

    public DogBean() {
    }

    public DogBean(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "DogBean{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
